ContentEgg\application\helpers\TemplateHelper D

Total Complexity 412
Dependencies 13
Dependents 18
Total lines 1,997
Lines of code 1,553
Logical lines of code 813
Comment lines 37
Methods 104
Properties 5

Methods 104

Method Rating Maintainability Complexity Lines of code
sortByPrice()
D
34 33 85
getMerchantImageUrl()
B
40 18 57
replacePatterns()
A
44 12 52
getMerhantName()
A
46 12 44
filterData()
A
48 11 35
getStockStatusStr()
A
50 9 31
priceHistoryMorrisChart()
A
42 7 52
getImageSizesRatio()
A
50 8 29
generateStaticRatings()
A
51 8 27
getGallery()
A
52 8 26
getMerchantLogoUrl()
S
51 7 25
getShopCoupons()
S
53 7 22
getTimeLeft()
S
48 6 35
getMerchnatInfo()
S
52 6 27
truncate()
S
52 6 26
getShopInfo()
S
54 6 20
getLastUpdate()
S
58 6 16
getOptimizedImage()
S
56 6 16
isModuleDataExist()
S
60 6 13
printShopInfoModal()
S
51 5 27
getGroupsList()
S
53 5 26
printShopCouponsModal()
S
51 5 25
getLastUpdateFormattedAmazon()
S
54 5 23
getStockStatusClass()
S
55 5 22
getCustomLogo()
S
55 5 22
generateAddAllToCartUrl()
S
55 5 19
selectItemByDescription()
S
57 5 17
viewMorrisChart()
S
49 4 30
getLastUpdateFormatted()
S
58 5 15
getAmazonLink()
S
60 5 14
getMerchantIconUrl()
S
58 5 14
hideParamPrepare()
S
54 4 23
getDaysAgo()
S
55 4 21
btnText()
S
56 4 20
getShopsList()
S
57 4 18
adjustBrightness()
S
57 4 15
filterByGroup()
S
59 4 15
formatPriceCurrency()
S
59 4 15
filterDataByModule()
S
59 4 15
findAmazonLocales()
S
59 4 15
displayImage()
S
58 4 14
sortByNumber()
S
60 4 13
eanParamPrepare()
S
62 4 12
getCommonCurrencyCode()
S
61 4 12
printShopInfoPopover()
S
55 3 18
priceChangesProducts()
S
56 3 18
getMerchantLogoDir()
S
59 3 16
isNumbered()
S
67 4 8
printRel()
S
60 3 15
getNumberFromTitle()
S
63 4 10
buildTagParams()
S
59 3 14
number_format_i18n()
S
61 3 13
mergeData()
S
63 3 12
mergeAll()
S
63 3 12
filterDataByType()
S
61 3 12
printRating()
S
61 3 12
getCashbackStr()
S
62 3 11
printShopInfo()
S
64 3 9
printShopCoupons()
S
67 3 7
convertRatingScale()
S
66 3 8
isPriceAvailable()
S
68 3 8
dateFormatFromGmtAmazon()
S
65 3 9
getNameFromDomain()
S
64 3 9
getChance()
S
61 2 13
priceHistoryPrices()
S
61 2 12
printMerchantInfo()
S
63 2 11
getAssociateTagForAmazonLocale()
S
64 2 11
getPriceColor()
S
69 2 7
priceHistorySinceDate()
S
68 2 7
priceHistoryMin()
S
67 2 7
getPrivacyUrl()
S
65 2 10
priceHistoryMax()
S
67 2 7
dateFormatFromGmt()
S
64 2 9
getMaxPriceItem()
S
72 2 5
getButtonColor()
S
69 2 7
printProgressRing()
S
64 2 8
getMinPriceItem()
S
72 2 5
sortAllByPrice()
S
68 2 7
isCashbackTrakerActive()
S
66 2 10
formatDatetime()
S
64 2 10
getCurrentUserEmail()
S
69 2 7
getAmazonDisclaimer()
S
64 2 10
splitAttributeName()
S
78 1 3
t()
S
80 1 3
formatDate()
S
78 1 3
price_format_i18n()
S
77 1 3
isPriceAlertAllowed()
S
78 1 3
printAmazonDisclaimer()
S
78 1 3
esc_html_e()
S
79 1 3
getCurrencyPos()
S
80 1 3
getCurrencySymbol()
S
80 1 3
getCurrencyName()
S
80 1 3
getMerhantLogoUrl()
S
78 1 3
getMerhantIconUrl()
S
78 1 3
__()
S
80 1 3
getMerchantName()
S
78 1 3
getBlankImg()
S
79 1 3
getButtonColorHower()
S
78 1 3
getRelValue()
S
75 1 4
fixNumberedTitle()
S
72 1 5
currencyTyping()
S
80 1 3
couponBtnText()
S
77 1 3
generateGlobalId()
S
79 1 3
buyNowBtnText()
S
77 1 3